package com.bnlr.lrparking.appui.carport;

import android.os.Bundle;
import android.widget.TextView;

import com.bnlr.lrparking.R;
import com.bnlr.lrparking.base.BaseActivity;

/**
 * 车位投建 或 车位共享 信息发布结果页面
 */
public class CarportResultActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_carport_result);
        TextView textView = (TextView) findViewById(R.id.tv_nav_title);
        TextView result = (TextView) findViewById(R.id.carport_result_explain);
        int tag = getIntent().getIntExtra("carport_tag", 0);
        if (tag == 0) {
            textView.setText("车位投建");
            result.setText("信息提交成功，待审核");
        } else {
            textView.setText("车位共享");
            result.setText("车位信息发布成功，待审核");
        }
    }
}
